<fieldset>
  <legend>Navigation</legend><br/>
  <div>
    <%= link_to "Home", :controller => "Home" %><br/>
    <hr/>
    
    <%= link_to "Users", :controller => "users" %><br/>
    <%= link_to "Shims", :controller => "shims" %><br/>
    <%= link_to "Search By Service", shim_finder_url %><br/>
    
    <% if logged_in? %> <!--USER IS LOGGED ON-->
      
      <hr/>
      
      <%= link_to "My Shims", :controller => "shims", :action => "belonging_to", 
          :user_id => current_user.id.to_s %><br />
      <%= link_to "Shims I've Annotated", :controller => "shims", 
          :action => "annotated_by", :user_id => current_user.id.to_s  %><br />
      <hr/>
      
      <%= link_to "Shim Extraction Tools", :controller => "tools" %><br/>
              
      <hr/>
      
      <%= link_to "View My Details", :controller => "users", :action => "show", 
          :id => current_user.id %><br/>
      <%= link_to "Edit My Details", :controller => "users", :action => "edit", 
         :id => current_user.id %><br/>
      
      <hr/>
        <%= link_to 'Delete account', current_user, :confirm => 
           'Are you sure you want to do this?  You will be logged out and your account will be removed.  This cannot be undone.',
            :method => :delete %><br/>
            
      <hr/>
      
      <%= link_to "Logout", :action => "logout" %>    <br/>    
    <% end %><br />
  </div>
</fieldset>